*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/bg.jpg) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: relative;
}
#startBanner{
	width:100%;
	height: 2.51rem;
	position: absolute;
	left:0;
	top:.98rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:4.8rem;
	height: 1.22rem;
	position: absolute;
	left:0;
	right:0;
	bottom:1.36rem;
	margin: auto;
	background: url(../img/btn.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#hand{
	width:100%;
	height: 5.64rem;
	position: absolute;
	left:0;
	bottom:2.58rem;
	background: url(../img/hand.png);
	-webkit-background-size: 100%;
	background-size: 100%;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox:after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:.02rem;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#ffffff;
	text-align: center;
}

/*规则页面*/
#rulePage{
	height: 100%;
	background: url(../img/rulebgg.jpg) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: relative;
}
#ruleBanner{
	width:100%;
	height: 1.49rem;
	background: url(../img/rulebg.png) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: absolute;
	left:0;
	top:1.5rem;
}
#bomb{
	width: 100%;
	height: 6.3rem;
	background: url(../img/bomb.png) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: absolute;
	left: 0;
	top: 3rem;
}
#number{
	width:100%;
	height: 1.9rem;
	background: url(../img/number.png);
	background-repeat: no-repeat;
	-webkit-background-size: 1.5rem 5.7rem;
	background-size: 1.5rem 5.7rem;
	background-position: center -3.8rem;
	position: absolute;
	left:0;
	top:2.18rem;
}

/*游戏页*/
#gamePage{
	position: relative;
	width:100%;
	height: 100%;
	background: url(../img/gamebg.jpg) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
#timer{
	width: 1rem;
	height: 1rem;
	position: absolute;
	left:.4rem;
	top:.2rem;
	font-size: .45rem;
	color:#f4533f;
	background: url(../img/time.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	text-align: center;
	box-sizing: border-box;
	line-height: 1rem;
}
#timer:after{
	content: 's';
	font-size: .4rem;
	margin-left: 1px;
}
#gameArea{
	width:100%;
	height: 100%;
	position: absolute;
	top:0;
	left:0;
}
.chicken{
	position: absolute;
	width:1.73rem;
	height: 2.29rem;
	background: url(../img/red.png) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
.chicken-a{
	width: 2.04rem;
	height: 2.46rem;
	background-image: url(../img/red_a.png);
}

#resultBox{
	height: 100%;
	background: url(../img/rulebgg.jpg) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: relative;
}
.mask{
	position: absolute;
	width:100%;
	height: 100%;
	left:0;
	top:0;
	background: rgba(0,0,0,.7);
}
#resultContent{
	width: 100%;
	height: 7.9rem;
	background: url(../img/result.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	position: absolute;
	left:0;
	top:1.73rem;
}
.btn{
	position: absolute;
	bottom:0;
	width:2.8rem;
	height: .9rem;
}
#lookRecordBtn{
	left:.8rem;
}
#friendBtn{
	right:.72rem;
}